﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShiQuan.IotDevice.Entity
{
    /// <summary>
    /// 农残检测仪
    /// </summary>
    public class DeviceInfoEntity: BasicIotDeviceEntity
    {
        /// <summary>
        /// 设备编号
        /// </summary>
        [Display(Name = "设备编号"), MaxLength(50)]
        public string Code { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        [Display(Name = "设备名称"), MaxLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 设备类型：UVA、DOPR
        /// </summary>
        [Display(Name = "设备类型"), MaxLength(50)]
        public string RefTypeId { get; set; }
        /// <summary>
        /// 设备类型：紫外线消毒设备、农药残留检测仪
        /// </summary>
        [Display(Name = "设备类型"), MaxLength(50)]
        public string TypeName { get; set; }
        /// <summary>
        /// 设备供货商
        /// </summary>
        [Display(Name = "设备供货商"), MaxLength(50)]
        public string RefSupplierId { get; set; }
        /// <summary>
        /// 设备供货商
        /// </summary>
        [Display(Name = "设备供货商"), MaxLength(50)]
        public string SupplierName { get; set; }
        /// <summary>
        /// 备注说明
        /// </summary>
        [Display(Name = "备注说明")]
        public string Remark { get; set; }
        
    }
}
